﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DtoFw
{
    public class BaseQuery: BaseOperator
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public long Id { get; set; } = -1;

        /// <summary>
        /// 主键id集合
        /// </summary>
        public List<long> Ids { get; set; } = new List<long>();

        /// <summary>
        /// 页面索引
        /// </summary>
        public int Page { get; set; } = 1;
        /// <summary>
        /// 每页显示数
        /// </summary>
        public int PageSize { get; set; } = 10;

        public string Name { get; set; }

    }
    /// <summary>
    /// 删除
    /// </summary>
    public class DeleteDto : BaseOperator
    {
        public List<long> Ids { get; set; }
    }

    /// <summary>
    /// 删除
    /// </summary>
    public class DeleteSingleDto : BaseOperator
    {
        public long Id { get; set; }
        public string No { get; set; }
    }
}
